package com.xtianzhuang.www.dao;

import com.xtianzhuang.www.entity.TdPermission;
import com.xtianzhuang.www.entity.TdPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TdPermissionMapper {
    long countByExample(TdPermissionExample example);

    int deleteByExample(TdPermissionExample example);

    int deleteByPrimaryKey(Integer permissionId);

    int insert(TdPermission record);

    int insertSelective(TdPermission record);

    List<TdPermission> selectByExample(TdPermissionExample example);

    TdPermission selectByPrimaryKey(Integer permissionId);

    int updateByExampleSelective(@Param("record") TdPermission record, @Param("example") TdPermissionExample example);

    int updateByExample(@Param("record") TdPermission record, @Param("example") TdPermissionExample example);

    int updateByPrimaryKeySelective(TdPermission record);

    int updateByPrimaryKey(TdPermission record);
}